<template>
  <!-- <router-view/> -->
 <div>
  <!-- ref传值 -->
  <p ref="1233333">12345</p>
  <one></one>
  <two></two>
 </div>
</template>

<script setup>
import one from "./components/one.vue"
import two from "./components/two.vue"
import { provide,ref,onMounted } from "vue";
let x=ref(null)
provide('url',"http://www.aa.com")
onMounted(()=>{
  console.log(x);
})
</script>
